package com.mcp_life.module.userbasemodules.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.mcp_life.entity.dto.ApplyStoreDTO;
import com.mcp_life.entity.dto.UserRegDTO;
import com.mcp_life.entity.dto.UserRealNameDTO;
import com.mcp_life.entity.pojo.User;
import com.mcp_life.entity.vo.UserVO;
import org.apache.ibatis.annotations.Select;

public interface UserService {


    boolean authenticate(String username, String password);

    void register(UserRegDTO registerDTO);

    boolean realNameRegister(String userId, String idCard, String name) throws JsonProcessingException;

    void applyHomeServiceStore(ApplyStoreDTO applyStoreDTO);

    void applySuppermarketStore(ApplyStoreDTO applyStoreDTO);

    void applyRestaurantStore(ApplyStoreDTO applyStoreDTO);

    UserVO getUserInfo(String userId);

    void update(User user);
}
